//
//  Color.m
//  OC04_homework
//
//  Created by Hanlingyu on 16/7/7.
//  Copyright © 2016年 ltq. All rights reserved.
//

#import "Color.h"

@implementation Color

- (instancetype)initWithColorName:(NSString *)name colorValue:(NSString *)colorValue {
    self = [super init];
    if (self) {
        _name = name;
        _colorValue = colorValue;
    }
    return self;
}
- (NSString *)description {

    return [NSString stringWithFormat:@"%@-%@", _name, _colorValue];
}
@end
